<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Free resources associated with a result</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.odbc-free-result" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">odbc_free_result</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">odbc_free_result</span> &mdash; <span class="dc-title">Free resources associated with a result</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.odbc-free-result-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>odbc_free_result</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result_id</code></span>
   ) : <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   Free resources associated with a result.
  </p>
  <p class="para">
   <span class="function"><strong>odbc_free_result()</strong></span> only needs to be called if you are
   worried about using too much memory while your script is running.
   All result memory will automatically be freed when the script is finished.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.odbc-free-result-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">result_id</code></dt>

     <dd>

      <p class="para">
       The result identifier.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.odbc-free-result-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Always returns <strong><code>TRUE</code></strong>.
  </p>
 </div>

 <div class="refsect1 notes" id="refsect1-function.odbc-free-result-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    If auto-commit is disabled (see <span class="function"><a href="odbc_autocommit.html" class="function">odbc_autocommit()</a></span>) and
    you call <span class="function"><strong>odbc_free_result()</strong></span> before committing, all
    pending transactions are rolled back.
   </p>
  </p></blockquote>
 </div>

</div></div></div></body></html>